package com.yxlcommon.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yxlcommon.common.pojo.DemandFormat;


import java.util.List;

/**
 * @author: yxl
 * @since: 2022-04-24
 **/

public interface DemandFormatMapper extends BaseMapper<DemandFormat> {
    List<DemandFormat> selectFormatByType(Byte type);

    IPage<DemandFormat> selectFormatByPage(Page<DemandFormat> page, String name);

    DemandFormat selectFormatById(Integer demandFormatId);
}
